package cn.hk.vaccination.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 社区对应的疫苗库存
 * </p>
 *
 * @author xu
 * @since 2023-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DeptVaccinesStock对象", description="社区对应的疫苗库存")
public class DeptVaccinesStock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "社区id")
    private Integer deptId;

    @ApiModelProperty(value = "疫苗id")
    private Integer vaccinesId;

    @ApiModelProperty(value = "库存")
    private Integer total;

    @ApiModelProperty(value = "库存预警值")
    private Integer warnStock;

    @ApiModelProperty(value = "是否充足 0库存充足 1库存紧缺 2无库存")
    private Integer adequate;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "登记状态：0：开通；1：取消")
    private String isRegister;


}
